Common GIt Commands
git init
//add all
git add .
//cancel adds
git reset
//cancel commits
git reset HEAD^
//cancel last 3 commits
git reset HEAD~3
//when first commit
git push -u origin master
//remove remote origin
git remote remove origin
//reset remote origin
git remote add origin https://github.com/yourname/project.gitgit init
git add *Enter File Name Here*
git commit -m "first commit"
git remote add origin *Enter URL Here*
git push -u origin master
Also in Java:
- hashset contains java
- java print type of object
- Spigot API inventory close
- how to delete an element from an array in java
- sort array java
- declare bufferedreader java
- start thread java
- get current unix timestamp java
- simple calculator program in java
- java run project from command line
- java int passed by reference
- java jaxb unmarshall xml to map
- how to crate a list in java script
- java cannot find file path
- loop through java object
- j
- java list all non directory files in the directory
- tolowercase java
- how to remove a certain string in a arraylist java
- check if a list contains a string java
- java pause program until key pressed
- 2 decimal places print format JAVA
- java strin to int
- query java persistence