BASIC GITHUB
1. git clone <remote repository website> to fetch ( download / copy ) all file in remote
repository to local
2. git push
3. exit
1. Make New Repository on github.com (remote repository)
2. Return to local storage
3. Open git bash on directory you wanna (right click on folder)
4. git init (initialized empty git repository on local repository)
5. git remote add origin “<remote repository website>” add remote repository as origin
6. git pull origin <brach_name > to fetch ( download / copy ) all file in remote repository to local
repository
7. git push origin <brach_name> to upload all file in local repository to remote repository
git status : check file status on active branch
git add <filename> : take spesific file in staging to commit
git commit –m “<description>” : commit spesific staging
git add –A : take all file in staging to commit
git commit –a –m “<description>” : commit all staging
git branch : check on active branch
git branch <branch_name>: make new branch
git checkout <branch_name>: pick active branch
git merge <branch_name>: merge file in branch_name to master branch
git branch -d <branch_name>: delete branch_name