![]() ![]() Recommendedįor svn users, it is often desirable to keep the commit history "flat". Log into the gitlab webpage and in your user settings section find the "access token" page. If you do not want to use your main password it is advised to use an "access token" as password (the username remains as is).Enter your password for the gitlab webpage.You can also use the primary email with which you registered. Enter the username you use to access the gitlab webpage.(Unable to test currently / should be either manager-core or wincred) The install may have added this already git config -global credential.helper wincred On windows credentials should be stored in the Windows Credential storage.Git config -global credential.helper store In order for your credentials to be remembered run (you may check "git config -l" first, to see if already set) On the same PC, you can make the settings global "git config -global user.email Those are not your login detailsĪdding your credentials (required to push commits).If you clone to an other device, you have to apply the settings again.Git config user.email Those details will appear on every commit you make The folder lazarus_git will be created for you.If you go to the gitlab home page of the project there is a "clone" button, which offers you to put the clone-url into your clipboard. git restore for restoring (resetting/reverting) files. Git switch for changing (and creating) branches. ![]() In this case see FPC_git for how to use "git checkout"Ī lot of pages on the web, will still give examples for using git checkout. Note: Some OS ship older versions of git, that do not yet support this. Please read the page FPC_git_concepts Outdated info on the Web / git checkout There a few concepts about git, that everyone should at least be aware of. (One still needs to be aware, in case one accidentally access the index.) Useful to know background So this is as good a way to use git as any other. ![]() The GIT documentation contains all the steps, how to use GIT without "index". As it requires additional steps in several commands, it is less preferable to users coming from svn.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |