![]() ![]() We recommend this setting if you're collaborating on repositories with others who have different operating systems.įor Windows - $ git config -global tocrlf trueįor Mac and Linux - $ git config -global core. By using this utility, you can perform the following tasks: view the list of all Git repositories on a domain or on all domains. ![]() If a private Git repository is used, you must authenticate with an SSH key generated by Plesk (refer to Use SSH Connection for details. You can enter it in either HTTPS or SSH format. Enter the path to your remote repository in BitBucket or GitHub. $ git config -global user.email Git to handle line endings properly so that Bitbucket doesn't think files have changed when the actual content hasn't changed. In this scenario, select Remote git hosting like GitHub or BitBucket. $ git config -global user.name "Emma Paris"Įnter the following command to configure your email address, replacing Emma's email address with your own. This scenario may be useful if you already work with some remote repository in GitHub ( ) or BitBucket ( ). (Copy and paste the line after the $ and press enter.) Any new commit in the same branch will trigger a deployment of your app in Plesk. Step 6 Configure in your Git webservice (Github, Gitlab, Bitbucket, etc) the webhook. When you install Git, it comes with a configuration file that you update with your personal settings from a command window.Įnter the following command to configure your username, replacing Emma's name with your own. Step 4 Select Automatic deployment in Select deploy mode. To verify installation was successful, enter which git. Step 1- Install GitĮnter git -version at the command line to check if you already have Git installed.įor Windows: Download the Git installer. To open a command window, go to Git Bash.vbs from the Git folder of the Programs directory.įor Mac: Download the Git installer. To open a command window, search for the Terminal.įor Linux: Enter sudo apt-get install git at the command line. Git is a DVCS that transfers code between your local system and Bitbucket Cloud. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |