How to use github desktop for mac11/11/2023 You are now ready for the first commit to your new GitHub repository. GitHub Desktop add repository dialog.įigure 15. Return to the GitHub Desktop app, and press the “Add a Repository” button (upper-right plus(+) sign in the main window) in the GitHub Desktop client, then select the “Add” tab within the displayed dialog box, and press the “Choose…” button to select the folder containing your Grav skeleton.įigure 14. Now that you have your Beanstalk Git repository as your Grav Skeleton folder, you can use GitHub Desktop to easily and quickly send any updates back to the repository on Beanstalk with just a click of the button (no more CLI commands are required!). Mac OS Terminal application move folder command completed. Mac OS Terminal application move folder command entered.įigure 13. This operation will by copy the hidden ‘.Git’ folder from the cloned repository to your actual Grav Skeleton folder.įigure 12. To do this, we enter ‘mv temp/.git’, plus a space, then the name of your Grav Skeleton folder, plus a space, followed by ‘/.git’. We now need to make the Grav Skeleton folder the location of the repository on your computer, rather than the empty temp folder we just created. Mac OS Terminal application git clone command completed. Mac OS Terminal application git clone command line entered.Īfter a short period of time a message should be displayed about the status of the Git clone command, such as ‘done’.įigure 11. You may also be prompted to enter your Beanstalk username and password for this step.įigure 10. Press the ‘Return’ key to run the entered command. This command will clone your Beanstalk repository to your computer within a folder called ‘temp’. Return to your CLI window, and type ‘git clone’, plus a space, and then paste the Git repository URL you have just copied to your clipboard, then a space, and finally the text ‘temp’. Return to your Browser and copy the ‘Git repository URL’ field which should be displayed on the current Beanstalk site page.įigure 9. Now you are ready to link your Grav Skeleton folder to your Beanstalk repository by copying the hidden ‘.Git’ folder from the cloned repository to your actual Grav Skeleton folder. Mac OS Terminal application with ‘ls’ command entered. within your ‘Documents’ folder).įigure 8. You should see the name of your Grav Skeleton folder in this list (e.g. In your CLI, enter ‘ls’ and press the ‘Return’ key. To make sure you are at the correct directory level, you can use the ‘ls’ command, which is for listing the files stored in a directory. Mac OS Terminal application with folder dropped after ‘cd’ command. With the full path to the folder now after the ‘cd’ command press the ‘Return’ key.įigure 7. In your CLI enter ‘cd’, press the space bar, and then drag-and-drop the folder that contains your Grav Skeleton folder (not the actual Grav Skeleton folder) onto the CLI window. For this operation you will be using the ‘cd’ command, which is for change directory. To streamline the need to navigate directories during this process, I would suggest you place your previously unzipped Grav Skeleton folder to where you wish to eventually maintain it (e.g. Launch the command line interface for the Mac OS, which is the ‘Terminal’ app, or if you are on Windows launch the ‘Git Shell’ app which would have been installed along with GitHub Desktop (within the same application folder). You will next need to make the initial commit to your newly created Beanstalk repository. Once you enter the repository name press the ‘Next Step’ button. Consider the name of the Grav project you will eventually be storing when choosing the name. Next, enter the name of your new repository. Once you have signed up and are signed-in, create a new repository by pressing the “Create a Repository” button. Head over to Beanstalk and sign-up for a free account (one user private project plan with 100MB of storage). GitHub Desktop preferences dialog with the ‘install command line tools button. This option can be found in the GitHun Desktop’s ‘Preferences’ dialog on the ‘Advanced Panel’ - look for the ‘Install Command Line Tools’ button and then press it.įigure 2. Once the GitHub Desktop application is installed, you will need to install it’s command line tools. Since you will be using Beanstalk, and not GitHub, you can skip the setup process at this time. This article will be substantially updated once the pre-release Git Sync plugin for Grav is officially released (expected in February).ĭownload and unzip a Grav Skeleton of your choice.ĭownload the GitHub Desktop client for your computer (Mac or PC), and once it is installed launch the application.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |