Install Git on LinuxFirst, you can try typing git to see if the system has git installed:1 giIf you happen to be using Debian or Ubuntu Linux, you sudo apt-get install git can simply complete the git installation in one piece.If it is a different Linux version, you can ins
the previous commit into a single commit, and the merged submission uses the author information of the previous submission
F (Fixup): Compresses the current commit and the previous commit into a single commit and discards the current commit information, using the previous commit information
X (EXEC): a command statement that needs to be executed when the commit is processed
4. Git filter-branchThis command can modify all commits to the r
. First, if you want to use git well, you must really understand its principles and concepts. For those who are familiar with CVS, it is especially important to change the concept of pure centralized source code management, which may also make you feel a little difficult. You may feel a little difficult at the beginning of using git, but you will definitely like it when you get to know it. It must be, just
Git-itHttps://github.com/jlord/git-it2016-08-01In Freecodecamp's guidance learned the git-it.Git-it is a tutorial that guides the use of Git and GitHub, and is said to be the author of GitHub internal Cheng. (in Git-it, found anot
. When branch is merge, not only will the code be merge together, but the check in history will be retained, which is very important.6 .... Too manyOf course, git will also bring us some difficulties. First, if you want to use git well, you must really understand its principles and concepts. For those who are familiar with CVS, it is especially important to change the concept of pure centralized source code
the default push when running Git push (the last two lines). It also shows which remote branches are not synchronized to the local (caching branch on line sixth), which have been synchronized to the local remote branch has been deleted on the remote server (Stale tracking branches the two branches below), and running Git pull will automatically merge which branches (the issues and master branches listed in
location you can choose the path, I choose "Desktop/Project name", the name of the project name, click on the clone, here to complete, remote and local connection, The changes you made in the test at the specified desktop location can then be easily submitted to git.4. Open the test on the desktop and you can see that there is a readme.md file, do not touch it. Then I randomly copy a project into the folder ()5. Open Sourcetree, here will see local c
I first published and summed up the things I learned, there are bad places please point out
one, git upload item (install git)
There are two ways git uploads a project: An HTTPS method, an SSH method
HTTPS method:
1, first login github.com registered account to create a newrespository
2, install git,
status
git status to see if any changes have been made since your last submission.
When I demonstrated the command, I added the-s parameter to get a short result output. If this parameter is not added, the contents are printed in detail:
$ git status on
branch master
Initial commit
Changes to is committed:
(use "git rm--cached
Gitbook is a command-line tool (node. JS Library) that we can borrow to make beautiful books using Github/git and markdown, but it's not a tutorial on git.Supports multiple formats for outputGitbook supports the output of multiple document formats, such as:
Static site: Gitbook The default output of this format, the resulting static site can be directly hosted on the GitHub pages service;
PDF:
Android Basics Getting Started tutorial--1.5.1 git using the tutorial's basic operation of the local repositoryTags: Android basics Getting Started TutorialWhat is Git?
A distributed version control system, similar to SVN, but one version control system that is far more powerful than SVN①git can be easily vers
master branch to the remote librarygit clone https://github.com/tugenhua0707/testgit cloning from a remote repositorygit checkout–b dev Create dev branch and switch to Dev branchGit branch view all current branchesGit checkout master switches back to the master branchgit merge dev branches on the current branchgit branch–d dev Delete Dev branchGIT branch name to create a branchGit stash to hide the current job and resume work after resuming the site.Git stash list view all hidden file listsGit
current master branch to the remote librarygit clone https://github.com/tugenhua0707/testgit cloning from a remote repositorygit checkout–b dev Create dev branch and switch to Dev branchGit branch view all current branchesGit checkout master switches back to the master branchgit merge dev branches on the current branchgit branch–d dev Delete Dev branchGIT branch name to create a branchGit stash to hide the current job and resume work after resuming the site.Git stash list view all hidden file l
Android advanced intermediate tutorial-1.1 Local Git Usage DetailsAndroid advanced intermediate tutorial-1.1 Local Git Usage Details
Tags (separated by spaces): Android advanced
1. Introduction
In the previous basic Android series, we have explained the simple use of Git. In
can confirm that only you can push it.10. associating with remote librariesAdd new repo to GitHub and name it. An empty warehouse can clone a new warehouse, or you can associate an existing local warehouse with it.10.1 Push the contents of the local repository to the GitHub repositoryRun the command under the local Learngit warehouse:...or Create a NewRepositoryOn the command l Echo# test >> readme.mdGit initgitAddReadme.mdgit commit-m"First Commit"Git
Git basic tutorial
The following is actually a basic tutorial for Git use within the company. I will record it here.
Modify Git configurationsWindows operating system line feed Configuration
git config --global core.autocrlf inp
(each version of each file), and there are local data clones on the server. In fact, even if the server's disk fails, any cloned client can rebuild the repository on the server and back to the original state of the clone.We're going to clone the yard looking for a harmonious big Papapa project:I fork this project first and get his address:Start Clone:Clone complete, and look at the folder for the warehouse:Note: Upload the video to the red-linked Linux system
:54:57 2011-0700 Added Password strength meter functionality commit C141b7bdbff429de35e36bafb2e43edc655e9957aut Hor:git admindate:sat 20:08:02 2011-0700 Initial upload of the project
Linux under Version management Git installation method, installation package, and detailed usage introduction, high score Xie
Google a little bit everywhereIf you use Ubuntu, play sudo apt-get install git on the terminal and i
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.