![]() ![]() ![]() Gitk #Commit history in a separate window Git log #Commit history in the command line Git rm -f #Erase a file from the index from Git Using Git locally (02): modifications and history Retrieved from Exercise: 01Ĭreate a local repository, and add commit your bio file written in Markdown (more info here and here). Berkeley, CA New York: Apress Distributed to the Book trade worldwide by Springer-Verlag. Git commit -m "messagetext" #Commit changes with a message Git add -u #Update (add) all files already being tracked #Add all files from current directory to the stage Git status #Get status of the working directory/stage ![]() Source: Lunch time! Questions? See you at 13:00 Git: workflow of a file Git config -global 'p4merge.exe \"$LOCAL\" \"$REMOTE\"' Source: Configure Git to use P4Merge (on Win) "/Applications/p4merge.app/Contents/Resources/launchp4merge \$LOCAL \$REMOTE" Git config -global mergetool.keepBackup false "/Applications/p4merge.app/Contents/Resources/launchp4merge \$PWD/\$BASE \$PWD/\$REMOTE \$PWD/\$LOCAL \$PWD/\$MERGED" Git config -global merge.tool p4mergetool Source: Install only P4Merge (Win, Mac, Linux) Configure Git to use P4Merge (on Mac) Source: Download P4Merge (Win, Mac, Linux) Git config -global color.ui auto #Color the output Git config -global user.email #Configure your e-mail Git config -global user.name "Name Surname" #Configure your name "I" for editing and then "Esc", ":w" for saving, ":q" for quitting Rm -r #Erase a directory and its contents Ls -la #List the files with hidden files and folders Ls -l #List the files of the current directory, with details Ls #List the files of the current directory #Exit from the directory by going to the parent directory Source: The command line, some notes (01)Ĭd. Retrieved from Open the Terminal (Mac) Open the Git Bash (Win) ![]() Retrieved from Git: history of a file system Source: VCS: history of differences (deltas) Version Control with Git: Powerful tools and techniques for collaborative software development (2 edition.). Retrieved from Git: a better but not free book Source: A distributed version control system A distributed version control system: workflow A distributed version control system: workflow A distributed version control system: workflow A distributed version control system: workflow A distributed version control system: workflow Git: a good free book M., Collins-Sussman, B.,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |