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
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
Tutorial on using sourcetree to operate git in Mac, sourcetreegit
SourceTree is a free Git and Hg client under Windows and Mac OS X, and is also a tool for Mercurial and Subversion version control systems. Supports creation, cloning, submission, push, pull, and merge operations. SourceTree has a simple interface that greatly simplifies the
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
: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
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
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
(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
origin it is the default term for git, or it can be changed to something else, but origin this name is known as a remote repository.Next, you can push all the contents of the local library to the remote library:3. Use to $ git push -u origin master push all the contents of the local library to the remote librarySummaryAbout Git, this article also did not talk ab
2-minute entry to git
Ordinary people: "lend me 1000 yuan ". Programmer: "Let's borrow 1024 yuan for a whole piece ".
Today is 1024, a holiday for our programmers. First of all, I wish you a happy holiday for programmers and programmers ~ Then, send out a holiday gift. That's right. It's just a two-minute entry to git. Of course, this is what I took the time to translate today. The original Article is here.
Git add, view, extract, push, delete remote repository (GitHub) tutorial, gitgithub
Add remote database
To add a new remote repository, you can specify a simple name for future reference. The command format is as follows:
git remote add [shortname] [url]
This example uses Github as a remote repository. If you do not have Github, you can register it on the officia
This tutorial explains how to import a new project into git, make changes to it, and share changes with other developers. first, note that you can get documentation for a command such as "Git diff" with: $ man Git-diffimporting a new projectassume You Have A tarball project.tar.gz with your initial work. you can place
submissions three weeks ago and after April 18 in a Git project, I could do this (I also used the--no-merges option to hide the merge submissions):
$ git log--oneline--before={3.weeks.ago}--after={2010-04-18}--no-merges
5469e2d git 1.7.1-rc2
Documentation/remote-helpers:fix typos and improve language 272a36b Fixup:second argument May is any
arbitrary str
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
ArticleDirectory
1. Register a Google account
2. Create a new project (use git for Version Control)
Iv. Project Management
5. expand knowledge
Original article address: simple tutorial on git version control system on Google Code project code hosting website
As a famous online projectCodeWebsite hosting. Google Code currently support
First, create a development branch
Second, fork project to the personal warehouse
Iii. Clone Project to Local
Iv. keeping pace with team projects
V. Push changes to your project
Vi. request to merge on a team project
VII. team project leader Review and agree to merge request
零、一、七 This is done by the team project leader.
Vii. some problems that may be encounteredThis article basically only describes the main line operation, but in the course of operation
create an empty git repository under which path, and creates a hidden. Git folder in the current directory. Don't change things in this folder, or you can easily mess up the Git library.3.1 Initializing the repositoryIv. Add the file 1, execute the command at the command line: Git status Displays the result:3.2 First
readme file"[master (root-commit) cb926e7] wrote a readme file 1 file changed, 2 insertions(+) create mode 100644 readme.txtA simple explanation of the git commit command, followed by the -m submission of the instructions, you can enter any content, of course, it is desirable to make sense, so that you can easily find changes in the history record.Too much trouble not to enter the -m "xxx" line? There are ways to do this, but it's strongly not recomm
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.