-
Notifications
You must be signed in to change notification settings - Fork 6
Beginner Guide
Rudolph Pienaar edited this page Feb 3, 2021
·
1 revision
First, create a GitHub account on https://github.com/ if you don't already have one.
Git has many GUI front-ends: Github Desktop, GitKraken, IDEs like VSCode and Intellij PyCharm have git integration preinstalled. These may or may not be easier to use. Below are instructions on how to use git
via the command-line.
-
Create a new repository on https://github.com/ with the same name as the app project directory generated by the cookiecutter command. Make sure that the repository is public. Don't initialize the repository with a
README
, alicense
or a.gitignore
file. -
Change the current working directory to the app project and initialize this local directory as a Git repository
git init
- Add and commit the files in the local repository
git add -A
git commit -m "First commit"
- Add the URL for the remote Github repository created in step 1 where your local repository will be pushed
git remote add origin <remote_Github_repository_URL> # (e.g. https://github.com/FNNDSC/pl-neuproseg.git)
git remote -v
- Push the changes in your local repository to GitHub
git push origin master