-
For Share Project; From Local to GitHub remote repository
- $ git init
- Initialize the local directory as a Git repository.
- $ git add .
- Add the files in your new local repository.
- $ git commit -m "First commit"
- Commit the files that you've staged in your local repository.
- $ git remote add origin remote repository https://github.com/emrahseren/cross-solor-java.git
- where your local repository will be pushed.
- $ git push -u origin master
- Push the changes in your local repository to GitHub.
- $ git init
-
For Clone Project; From GitHub remote repository to Local PC
- $ git init
- To initialize an existing directory as a Git repository.
- $ git clone https://github.com/emrahseren/cross-solor-java.git
- To clone (copy) a remote repository, copy the url for the repository.
- $ git diff
- To see different between remote repo and local sources.
- $ git init
-
For any question or problem please write te seren.emrah@gmail.com.