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
changes inconvenient.3. Install gitMac: Install git via homebrew, please refer to Homebrew's documentation: http://brew.sh/.Windows:msysgit is a Windows version of Git, downloaded from http://git-scm.com/, and then installed by default. When the installation is complete, find Git
is:Command Here, after the command that requires keyboard input, add the 101 Special methods of usage10.1 BracketsIn BASH, a pair of parentheses is generally used to find the value of an expression in parentheses, or the result of a command's execution, such as: (A=hello; echo $a), which acts as ' ... '.10.2 Colon: There are two meanings, one is to represent an empty statement, a bit similar to a single ";" in C, which means that the line is an empty
Android Advanced Intermediate Tutorial--1.1 git's local usagetags (space delimited): Android advanced1. IntroductionIn the previous Android Basics series we explained the simple use of Git, the Advanced series weA systematic explanation of git, the use of basic commands, the concept of workspaces, staging area, historical warehouses, remote warehouses,Branch mana
Previously useful, but relatively few, this brother hope our project code is uploaded to GitHub, the new brother will not use GitHub, let me give science, let them get started. Just as I just reinstall the system, the process of installing git from scratch and the first push code to GitHub is recorded:1. Download and install git (windows7)Download Git:https://www.git-scm.com/download/winClick on the exe fil
/download/win after the download installation is complete, click on the Start menu-"Git folder-" Git Bash will appear below the command line form, prove that you installed successfully.2. Set your name and email, your name and email will appear in your submission record.git config--global user.name "your name"git confi
a plus in your resume.Install settings git1.Msysgit is the Windows version of git click Download installation completed, click on the Start menu-"Git folder-" Git Bash will appear below the command line form, prove that you installed successfully. 2. set your name and email, your name and email will appear in your sub
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
Note: All images of this tutorial are downloaded from Pro Git. Unless otherwise stated, all of the following operations are performed on Linux terminals. If you find any errors or other problems in this article, contact me: wengpingbo # gmail.com.
1. What is GIT?
Git is a speed-oriented distributed version control soft
. 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
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
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
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
. (This sentence can be ignored)
The window is small when you have just installed the open. If you're not used to it, you can make it bigger.
First move to the bottom right edge of the window, and then pull the window up when the arrow appears.
At the top of the window, click Icon, Options ...---Current size--OKThis will then be resized after the window is opened.
Iv. use of local git
Instead of introducing
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
There are many installation tutorials for installing Git online, so you can refer to them. Here is the version of Git with Windows, click here to download. After the basic setup is complete, you can see the new git commands added by right-clicking the mouse button: Git GUI here and
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:
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.