

This is a handy file made by the peopleĪt GitHub which will deal with common file patterns that you should not be saving (committing) to theĬlick the green "Create Repository" button to complete the process.

Leave the repository as "Public", and make sure you tick checkbox next to "Initialize this repositoryĬhange the dropdown menu for "Add. Give your repository a name under "Repository name", and give the project a description if you want. This should then take you to the following screen: Click on the "+" icon near the top right of the dashboard, then "New Repository" on the dropdown revealedĪs shown in the screenshot above.Once you've signed in, you should see something like the following near the top of your dashboard: Open your browser and log into your GitHub account at. Creating a new Git repositoryĪs mentioned in session 3, a Git repository is a project where all of your app files (Python code, images,ĬSS stylesheets etc.) are, either online on GitHub or locally on your laptop.
GITKRAKEN CHANGE ORIGIN REPO CODE
"Why is my code not working even when I know I've fixed it?!!", as the chances are, you've probably beenįixing a different copy of the code from the one you're running on the command line.

Most of the time, this will save you from the headache of don't save other files/folders in there that are unrelated to the project!Īnother tip for staying organised is close the other tabs in your editor when you have files with the sameįile name opened. Once you've done that, make sure you keep thatįolder "clean" - i.e. The best way to stay organised is when you are creating a new project, make a new folder somewhere that'sĮasy to find and save your code/other related files in there. Working out which folders and files are supposed to be part of your Flask code project! Make sure you are organised with where you save your code files! Otherwise, Git will have trouble In this guide, we will go through the basics of working with Git using GitKraken as introduced in class.īefore you make a new repository, there's one thing I want to emphasise: Committing and pushing local changes back to GitHub.Introduction - staying organised with your project.
