-
Notifications
You must be signed in to change notification settings - Fork 1
GitHub Setup
-
Sign-Up for a GitHub Account
-
Go to Python 101 Repository
https://github.com/NIAGroup/Python101-Fall19
Watch Repository -
Install Git Bash:
https://git-scm.com/download/win
Recommended: 32bit version
Choose all default settings -
While inside of the git bash commandline, modify proxy to support github access by executing
git config --global http.proxy http://10.7.211.16:911Note: Git bash will be used to make updates to the repository and submit them to the remote repository
-
Clone Repository
Inside Git Bash commandline clone the Python-101-2019 repo
git clone https://github.com/NIAGroup/Python101-Fall19.gitList all files in your directory
lsChange directory to the Python 101 repository you just cloned
cd Python101-Fall19 -
Create a Branch of the Repository
git checkout -b <branch name> -
Create Your Directory and a Text File
Make a directory called "your name"
mkdir <your name>Change directory to the directory you just created
cd <your name>Create a file called "foo.txt"
touch foo.txtList the files in your directory. You should see the file foo.txt
ls -
Add, Commit and Push Your Changes to Your Branch Repository
Stage your files
git add .Commit the changes you've made and add a message with the changes you've made
git commit -m "<Comment describing what change you performed>"Push your changes to your local branch
git push origin <branch name>