2/9/2023 0 Comments Github commands cheat sheet![]() Can specify root directory files like '/TODO'.gitignoreīefore adding everything to your repository, it may be helpful to know. (Explore that directory for more information.) Git - Ignoring files with. Note that your Git project directory will now have a. If you have an existing directory or project and want to create a Git repository from it, do something like this: Initializing a Git repository (existing directory/project) You can check your Git configuration using commands like these: There is also a Git configuration file in your current Git repository. $ git config -global user.email YOUR-EMAIL-ADDRESS $ git config -global user.name "Alvin Alexander" Git configuration (initial configuration) ![]() ![]() Please note that many of these commands come directly or indirectly from the excellent book Pro Git ( online here, or available at Amazon. To that end, here's my Git cheat sheet (Git command reference page), with all the Git commands I currently know. Summary: This is a Git cheat sheet (Git command summary) I've created, featuring many Git command examples.Īs I've begun to set up my own private Git hosting repository (see Private Git hosting services, and My A2 Hosting Git repository using SSH), it's time to cram all these Git commands back into my head again.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |