-
Notifications
You must be signed in to change notification settings - Fork 7
Git Stuff
Checkout your repo
Use the following to grab a new copy of your repo (make sure directory ‘wormwood’ doesn’t exist):
git clone [email protected]:/wormwood.git
cd wormwood
git pull origin master
Also, don’t forget to add the main repo to your list so you can update:
git remote add jacob git://github.com/swat30/wormwood.git
Update your repo from the main repo
NOTE Make sure that you run this BEFORE editing
This will sync your repo with the main repo:
git pull jacob master
git push origin master
Making changes
When making changes, make sure to commit related changes / independent changes in separate commits.
For each file that you want to commit, use this command:
git add <FILE>
Once this has been done, run the following command to stage the commit:
git commit -m “”
You can make as many different commits as you want before updating your remote github repo.
Once you are ready to do so, run this command:
git push origin master
More Questions
If you have any questions, feel free to message Jacob and ask.
There is also a guide available on github.