![]() Note that in difference with subversion, git always updates the whole repository. To update your source code with the changes in the remote repository, is called 'pulling' in git: This operation can take a while, the FPC source base is large. To check out a new copy of a repository is called 'cloning' in git.Īs in subversion, you can give it another name: The VSCode and Atom editors have git support built in.Ī few "good to know" differences: FPC git concepts.Smartgit runs on Windows, Linux and macOS:.It is made by the people from bitbucket. Sourcetree is a free client for Windows and macOS:.if you already have TortoisSVN installed, both can work side-by-side. TortoiseGit integrates with the Windows explorer, much like TortoiseSVN does:.Git for windows: a command-line client with a bash shell, so you can copy & paste commands you find on internet:.There are many available, but the following are popular ones: On Windows, a separate git client must be installed. On macOS, Linux & BSD, the git command is installed with the system package manager (you must install XCode command line tools on macOS). In a first stage, the branching model as used in Subversion will be used: fixes done in trunk, and later cherry picked to the fixes branch.Īt a later stage, the branching model may be changed into one of the many git branching schemes. In case you want to submit patches (pull requests) it is strongly recommended to use GitLab instead. Cloning of the sources can be done with the following command The GitLab repositories are mirrored on GitHub. This also means you can easily enable 2FA for your gitlab account. The advantage of using an access token is that it can be given limited rights on gitlab, for example only accessing a repository. This is supported by most modern git clients:Īnd here you can see how to do this on gitlab: You may want to use an access token and HTTPS access, it has some advantages. There are other possibilities for storing this info. Git config -global credential.helper store You can tell git to store them permanently, issue the following command: If you access the repository using HTTPS, by default, git will ask for the username/password. Git config -local user.email command must be execute in a particular repository, and sets the email address for only that repository. If you have multiple gitlab (or even github) accounts, you may prefer to set this email only locally: Will allow the gitlab interface to correctly link commits to users in its HTML interface. Git config -global user.email will set your email address for all git repositories you use, and Installation to use the address linked to your gitlab acccount. In order for your commits to be recognized, please configure your local (or better yet, global) git The URL to clone the website repository is: The URL to clone the documentation repository is: The Documentation Git repository is here: The Git repositories are hosted on Gitlab:įPC compiler, RTL, packages and utils are located here: 5.23.2 Submitting a request to merge/cherry-pick a certain commit to fixes.5.21 file properties (EOL handling etc.).5.19 info (get working dir and server info).5.16 blame (check who made modifications).5.15 merge (merging the changes in 2 branches). ![]() 5.14.2 Revert changes to specific files/directories.5.9 diff (show changes performed in a commit).5.8 diff (show changes to working copy).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |