It also comes with a diff-viewer and file staging mode. Git-cola is developed in Python and comes with the usual pull, push, commit functions. Below are several graphical git client that you can use to make your git usage an easier and better one. However, the most primitive way doesn’t mean it is the best way. Once you have installed git (with the command “ sudo apt-get install git“), you can use the few commands “ git add *“, “ git commit“, “ git pull“, “ git push” to manage your repository. In Linux, the most primitive way of using git is via the command line. It is a great tool for developers to collaborate without losing their sanity. For those who are not aware, git is a distributed version control system with complete history and full revision tracking capabilities. How to install SmartGit/HG 6.0.While git has been around for some time, it is only recently that used it for collaboration with a co-worker. Everything is difficult at the beginning, and we will continue to explore it in daily use. To sum up, this is just a reference for the initial use of SmartGit. PS: For details about the workspace, temporary storage area, and current branch, refer to the Git tutorial of Liao Xuefeng-workspace and temporary storage area. Hard: reset workspace, reset temporary storage area, reset current Branch Soft: The workspace remains unchanged, the temporary storage area remains unchanged, and the reset current Branch Mixed: The workspace remains unchanged, the reset temporary storage area, and the current reset Branch There are three Reset modes available: mixed, soft, and hard. Right-click the record of the first version and select Reset to return to this version. Right-click test.txt and select Log to view the two submission records. We open test.txtand input some text to save it, find that test.txt is changed to the red Modified state, and then commit. Let me show you how to install SmartGit on your Ubuntu, Elementary OS, Lubuntu, Kubuntu, other debian Operating Systems and most of the Linux environments. You can do all the repository operations here in Linux With Help of SmartGit. SmartGit a perfect alternative to Sourcetree and windows Github. First, make sure all your system packages are up to date by running the following apt Commands in the terminal. There are five buttons in the upper-right corner of the Files form to set which Files to display. Install and Uninstall SmartGit on Ubuntu. Install SmartGit on Ubuntu 20.04 LTS Focal Fossa Step 1. The submit form is displayed.Ĭommit Message is a comments of the submitted version and must be filled in.Ĭommit is committed to the local Git repository.Ĭommit & Push is committed to the local Git repository and to GitHub.Īfter the Commit operation is successful, the Files in the Files form are missing. Go back to SmartGit and find that there is one more file in the Files form. Open the selected local folder.Ĭreate a txt file in the folder, enter some text, and save it. The Output information tells us that OK is done. Next, select a local folder for the project.Ĭlick Finish. Find the Project address on the right of the Project page just created and copy it. Open SmartGit and select Repository> Clone from the menu.Įnter the Repository URL: the address provided by GitHub. multipass Ubuntu VMs on demand for any workstation Get an instant Ubuntu VM with a single command. Fill in the following information based on actual conditions: log on to the GitHub website, find new repository in the lower right corner, and create a new project.Ģ. Please go to apply for one.Ĭreate a personal technical blog via GitHubįor example, enter your GitHub Account in the Account, click the Token button, and generate a Token as instructed to connect to GitHub.ġ. Of course, you must first have a GitHub account. You can select one based on your individual needs.Ģ. license: three types of licenses are available for trial, paid, and non-commercial use. There are only two points to note during installationġ. SmartGit:, download the target client of the system, and I am from windows. We need to create a graphical interface, namely the SmartGit below.Ģ. The client on the official website is in the form of command line, which is too difficult for new users like me. Go to the Git Official Website: download the client. For more information about Git, see Ubuntu12.04 Git server configuration.ġ. Today, Git is booming, and I want to use Git to manage code written in my spare time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |