Create a new project on Github, Bitbucket, Gitlab or any other company that is hosting Git repositories.Start with initializing Git in a local folder on your computer.There are few ways to start a project with Git. Read some more tips on the Github documentation website. When you push your changes to a remote repository, your password will be asked in the terminal.īut if you don’t like to type it every time you push your changes then use a helper.įor windows: git config -global credential.helper wincredįor Mac: git config -global credential.helper osxkeychainįor Linux: git config -global credential.helper cache Your password can’t be set in the same way. If you did it right, your email will appear. You can check it with git config user.email command. If you remove the -global option, then this name will only be set in that repository you are in. Open the terminal and type git config -global user.email to set the name you will be using on your machine for Git. If you did it right, your name will appear. You can check it with git config user.name command. Open the terminal and type git config -global user.name “Your Name” to set the name you will be using on your machine for Git. You need to set the git name and git email. In order to get your name and email right with every commit you do. If you have any problems with the installation, please let me know in the comments or hit me on Twitter or Instagram DM. Go to the Git website and download the version for your OS. Git is available for Windows, Mac and Linux. Design files for example!įirst, we have to install Git in order to use it. Git is not only suitable for programming projects, but also very suitable for other types of files. You can always go back to an earlier state of the code if you want to. It will show who did make a change, what is changed and when it changed. Git is nowadays the way to keep your projects save! Your own small project or the projects of big teams inside companies.Ī short version of the explanation is, Git will keep track of all the changes of your project. If you prefer reading over watching a video? Scroll down, below the video, everything is written down. We are gonna start on the terminal! If you’re not used to the terminal (some call it command line), I do my best to show you it is not scary! With this series of blogs and video’s, I want to help you get started. If you never used Git it can be hard to start.
0 Comments
Leave a Reply. |