Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added errorScreenshots.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions git commands.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
touch filename.txt
--put timestamp on existed file or create file if file is not existed

--first time setup, to set up user name and password, only for new installation
git config --global user.name "YOUR_FULL_NAME"
git config --global user.email "YOUR_EMAIL_ADDRESS"


git init
--initalize the git tracking for current folder

git status
=--to track the status of the folder

git add radsketch.pde
--add file to be version control

git commit -m "Created a triangle in a circle"
--add a commit comment

git remote add origin https://github.com/zx2160/edav.git

git remote add mike https://github.com/malecki/edav.git
git fetch mike

git remote rm mike

git commit -m "commit comment here"
git remote -v
-- to see all remote

git push origin master

git log

git reset HEAD filename to put it back to untracked file from stage file
--like undo the git add

git add .
---add unstage changes to stage area
git branch---to see all the branches out there
git branch newbranchname --to create a new branch
git check branchname -- to switch branch
git branch -b
Binary file added projects/darrenxing/ProjectPlan.docx
Binary file not shown.
Binary file added projects/darrenxing/USpop.twbx
Binary file not shown.
Loading