Rapidly launch your Android app development with this QuickStart project. All the necessary dependencies are pre-integrated.
git init
git add <file_name>
git add . # Adds all modified files
git commit -m "Commit message"
git push origin <branch_name>
git status
git branch
git checkout <branch_name>
git checkout -b <branch_name>
git pull origin <branch_name>
-
Fetch the Latest Changes from GitHub:
git fetch origin <branch_name>
-
Checkout the Remote Branch:
git checkout -b <branch_name> origin/<branch_name>
-
Discard Local Changes (Optional):
git reset --hard origin/<branch_name>
git log
git diff