Next, I create a readme.txt in that folder created (I’m using nano below, you can use any text editor): cd myGitRepo Which creates the repository with that name after the "init". To create a new Git repository I use: git init myGitRepo Git config -global user.email configuration In the Git Bash shell, configure first your username and default email address: git config -global user.name "John Doe" A remote repository is needed to share something, e.g. pull: get the changes from the remote repositoryīy default, there is always a local repository.push: transfer the changes in the local repository to the remote one.commit: enter the change into the (local) repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |