The file status in the GIT working directory. All files in the working directory are in either of the following statuses: tracked or not tracked. Tracked files are files that have been incorporated into version control management. They are recorded
Git Introduction
Git is a distributed version control system. The GIT client does not only extract the latest file snapshot, but completely mirrors the code repository. In this way, any server that works collaboratively can be recovered from a local
introduction to Sourcetree, after all, the use of git in China is not common sourcetreeAs a lazy git command line I don't really love it so the GUI tools become my first choiceThe GIT tools under Mac are a lot of famous tower smartgit and so on (more on the introduction here)Today we are introducing Sourcetree for Atlassian products and the famous track tool Jira GitHub competitor BitBucket and so on (these two I also often use, especially
Here is the first introduction to using command-line.1, download git installer, address; http://git-scm.com/downloads2, open after download, double-click. PKG Installation3, open the terminal, use the git--version command to view the installation version, there is a successful installation/* The following 4.5 commands are automatically included if they have already been created using BitBucket */4, create a global user namegit config--global user.name
warehouse
Https/ssh. Gitignore not complete:? Manual add Complete if item?? Want more? Human development: Management, member management, add members: Let the new person register? A OschinaGraphical interface (UI): Cornerstone/version Here is only a general introduction to Sourcetree, after all, the use of git in China is not common sourcetreeAs a lazy git command line I don't really love it so the GUI tools become my first choiceThe GIT tools under Mac are a lot of famous tower smartgit an
Bitbucket. for open-source projects, it supports free repo hosting. You can also pay for private APIs and server space, but these are all dispensable. Bitbucket also supports multiple users and Git or Mercurial. Bitbucket is most suitable for development teams that don't want to pay for it. It is irresistible to a lar
BitBucket is a source-code hosting software, online can apply to free to 5 of the most users of the source repository, but the source code in others there how can be assured, so it is necessary to build a private source repository. With mercurial and git as distributed versioning, it's easy for development teams to use a distributed version control system that allows team members to encode without having to consider geo-problem collaboration. With
versions.BitBucketIf you don't choose GitHub, you can use BitBucket, which is supported for free repo hosting for open source projects. You can also pay for private APIs and server space, but these are optional. BitBucket also supports multi-user and git or mercurial. BitBucket is best suited to a development team tha
, },
As you can see, for unknown library addresses (not Github/google code/bitbucket/launchpad), they are set in the configuration here
According to the regular expression above, the input git.wendal.net/wendal/gofly can be obtained
root = git.wendal.net/wendal/goflyrepo = git.wendal.net/wendal/goflyvcs = git
What? When you use Git for clone, you actually execute the
git clone $repo
的镜像glide mirror set [original] [replacement]glide mirror set [original] [replacement] --vcs [type]# 移除包的镜像glide mirror remove [original]# 获取包的镜像列表glide mirror list
Glide mirror is especially useful when you cannot access some sites, causing very golang dependent packages to not be downloaded through go get. You can map a wall-based repository URL to a URL that is not a wall, or even to a local repository.
You can use glide to master the above commands, is it simple?
Glide.yaml parsing
Let's take
standard software package containing the module package copy.
Steps 2 and 3 are basically the same on all operating systems. I hope you can find the third-party package installation method on the Stack Overflow.Where can I find a third-party package?
Before installing third-party packages, find them first. There are several methods:
Dedicated release package in your system Package Manager.
Python Package Index (or PyPI)
A large number of source code servers, such as Launchpad, GitHub, and
management system (deb, RPM, etc.)
Various tools developed through the community, such as Pip , easy_install , etc.
Installing from a source file
These three aspects, almost accomplish the same thing. That is, install dependencies, compile the code (if necessary), and search the location for a standard package that contains a package copy of the module.The second and third steps are basically the same on all operating systems. I hope again that you can find the third-party package
This is a creation in
Article, where the information may have evolved or changed.
Windows uses Eclipse+goclipse plug-in +gdb to build the Go Language development debugging environment
Note: With the latest eclipse version neon release (4.6.0), with file://d:\ thunderbolt download \goclipse.github.io-master\releases\local-repo installation Goclipse succeeded, In addition, the Code hints and other functions need to be configured in the tool,
When downlo
File Q (1) command git rm;
(2) command git commit-m "content";
(3) before the commit, delete the action of the file in staging area;
Seven, adding remote repositories
(1) Create SSH Key. In the user directory view. ssh file, if there is a look at the directory under the Id_rsa.pub public key file, if not, create SSH key, Ssh-keygen-t rss-c "yourEmail@example.com ";
(2) login to the third-party code warehouse platform, add SSH key, view SSH key content command line, cat id_rsa.pub;
(3) Why SSH
directory in Package.json, then the configuration here will not play any role.Directories.manSpecifies a directory in which the man file is a syntax sugar that configures the man file.Directories.docPut some markdown files in this directory, and maybe one day they will be shown friendly (it should be on NPM's website)Directories.examplePut some sample scripts, maybe one day will be useful--!RepositorySpecify a code store address that is useful for people who want to contribute code to your proj
interfaces that allow us to parse command-line commands.Warehouse Address: Https://github.com/tj/commander.js4-2, Download-git-repoDownload-git-repo is used to download the appropriate Git libraries (Github, GitLab, BitBucket) to the specified local folder.Warehouse Address: Https://github.com/flipxfx/download-git-repo4-3, InquirerInquirer is a common collection of interactive command-line user pages that
A long time ago, I carefully understood the Repo and server principles out of curiosity, but today I suddenly forgot something, so I wanted to record it.Repo Mechanism
Repo is a software officially developed by google to manage Android projects. Let's take a look at the official description of the software.
Repo is a tool thatwe built on top of Git.
The school has been doing application layer development, considering the future employment problems, this decision to study the source code and drive, and compile. Did not expect to download the source of this step toss me a full two days, during the encounter a lot of problems, hey, recorded in this, hope that in the future, the source of the people do not take the unnecessary detours. In fact can be here http://zhu.im/Android/ download source code, but Google recommended to download with
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.