Примери за използване на Your git на Английски и техните преводи на Български
{-}
-
Colloquial
-
Official
-
Medicine
-
Ecclesiastic
-
Ecclesiastic
-
Computer
At some point in your Git journey, you may accidentally lose a commit.
Which should you choose for your Git server?
This has the implication that your Git commits may have a different SHA-1 hash before and after they has been pushed to TFVC.
GitIssius is an issue tracker integrated in your Git repository.
It's much easier to attach your Git clone directly to the same place your Bazaar clone is attached to‒ the central repository.
You can add the following line to your Git attributes file.
It runs entirely inside your Git repository, so you won't need any kind of access to the Perforce server(other than user credentials, of course).
This is common choice for fast, unauthenticated access to your Git data.
You could even use Perforce as your Git host if you like. Git-p4.
Do a commit, which takes the files as they are in the staging area andstores that snapshot permanently in your Git directory.
That's why you should also clean and compact your Git repository, especially if it is a big one.
Now that you have Git on your system,you will want to do a few things to customize your Git environment.
Notice that you have to tell the command where to find your Git repositories with the GITWEB_PROJECTROOT variable.
Git-p4 tries to honor your Git and Perforce settings individually when it has to provide a name for a commit or changeset, but in some cases you want to override it.
Git-tfs also lets you control TFVC branches from your Git repository.
The staging area is a simple file,generally contained in your Git directory, that stores information about what will go into your next commit.
If you simply remove the file from your working directory, it shows up under the“Changed but not updated”(that is, unstaged) area of your git status output.
You rolled back to before you ran all your git add and git commit commands.
If you simply remove the file from your working directory, it shows up under the“Changes not staged for commit”(that is, unstaged) area of your git status output.
Com that you have SSH access to, andyou want to store all your Git repositories under the/srv/git directory.
This is a great way to connect your git repositories and GitLab instance to the rest of your development automation, such as CI servers, chat rooms, or deployment tools.
GitHub, on the other hand, is a place where you can store your Git projects which are called repositories.
We will go into more detail about the various possible workflows for your Git project in Distributed Git, so before you decide which branching scheme your next project will use, be sure to read that chapter.
Getting Git on a Server will introduce all of the available options the server can set up to access your Git repository and the pros and cons of each.
When you're branching and merging, everything is being done only in your Git repository- no server communication is happening.
When you're branching and merging, everything is being done only in your Git repository- there is no communication with the server.
Before we finish this chapter on basic Git, there's just one little tip that can make your Git experience simpler, easier, and more familiar: aliases.