search
HomeDevelopment ToolssublimeGraphical explanation of how to use sublime's sublimeGit plug-in

The following tutorial column of sublime will introduce to you the sublime Text3 plug-in sublimeGit. I hope it will be helpful to friends in need!

I hope that as a note, only God knows what I wrote in the end

About how to use the sublimegit plug-in to push projects to github.
In fact, it has been written in great detail online. Please refer to https://sublimegit.readthedocs.io/en/latest/tutorial.html

I think anyone who can pass Level 4 should be able to understand it. If If your understanding of English is only limited to words starting with f...then I hope my notes can be helpful to you, 圷达.

You need to make some preparations before you start
1. You need to install sublimeGit through package control, this awesome plug-in.
2. Install git and resolve configuration issues.

Then the text starts here

Initialization library

Graphical explanation of how to use sublimes sublimeGit plug-in

##As shown in the picture, on the project you want to upload Enter and select git:init

Graphical explanation of how to use sublimes sublimeGit plug-in

# and then the storage path of the repository will appear at the bottom. If


Graphical explanation of how to use sublimes sublimeGit plug-in

appears later, the initialization is successful.

Status view

Graphical explanation of how to use sublimes sublimeGit plug-in

Enter status view

Graphical explanation of how to use sublimes sublimeGit plug-in

The above are some Information, then Untracked files are files that have not been added yet, and below are some shortcut keys.

Ignore files

Select the file and press

i to add it to .gitignore to ignore it, for example I Now add the file .zip

Graphical explanation of how to use sublimes sublimeGit plug-in

and confirm.

Graphical explanation of how to use sublimes sublimeGit plug-in

See it, forget it.

PS: If you have multiple files that need to be ignored, you can use
I (uppercase). I won’t go into details about the specific method.

Add files

You can choose to add them one by one: select the files you want to add and press

sif you want to add them all at once To add all the files, you can
ctrl shift s, and then it will get stuck...When this interface appears, it means it is complete.

Graphical explanation of how to use sublimes sublimeGit plug-in

PS: If you select a file and press

u, the addition will be cancelled. If you press U, the addition of all files will be cancelled. Add to.

commit

Press

s to enter commit,

Graphical explanation of how to use sublimes sublimeGit plug-in ##You can enter information on the first line, such as


Graphical explanation of how to use sublimes sublimeGit plug-in and then close this window and return to the

git:status

interface

Graphical explanation of how to use sublimes sublimeGit plug-in Show completed.

Upload to github

The operations just now were all done on the local library, so how could you, the handsome guy, be willing not to share it with the world?

Come, add a remote


Graphical explanation of how to use sublimes sublimeGit plug-inEnter the name, the default is

origin

Graphical explanation of how to use sublimes sublimeGit plug-in

enter

later

Graphical explanation of how to use sublimes sublimeGit plug-inwhat? What url? You didn't say that?

Ahem. . . Sorry, before going back to adding remote, we need to have a repository on github. I won’t go into how to create it. In short, now we have a library on github. I want to name it whatever I want, but after thinking about it, I forget it.

Graphical explanation of how to use sublimes sublimeGit plug-in

Then copy it

Graphical explanation of how to use sublimes sublimeGit plug-in

ssh and HTTPSCopy whatever you want It should be possible to add one to the url just now.

The last step

Graphical explanation of how to use sublimes sublimeGit plug-in

Selectgit:push, and then there will be some prompts, knock your enter, don’t pay too much attention first. For the first time, you may be asked to log in to your github or something like

Graphical explanation of how to use sublimes sublimeGit plug-in

. When this happens, we will habitually think that it should be successful.

Yes, it was indeed successful.

Graphical explanation of how to use sublimes sublimeGit plug-in

The above content is just notes, just to provide a reference (knock on the blackboard), git has many functions, I will slowly collapse and write slowly when I have the opportunity in the future.

The above is the detailed content of Graphical explanation of how to use sublime's sublimeGit plug-in. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:segmentfault. If there is any infringement, please contact admin@php.cn delete
How to run sublimeHow to run sublimeApr 16, 2025 am 09:39 AM

To run Sublime Text, you need to download, install the application, purchase a license (optional), and then launch the application. Create or open a file to start encoding.

How to Chinese sublimeHow to Chinese sublimeApr 16, 2025 am 09:36 AM

Sublime Text can be Chineseized through the following steps: 1. Download the Chinese package; 2. Install the Chinese package; 3. Restart Sublime Text; 4. Set the default language (optional); 5. Verify the Chinese version.

How to delete sublime plug-inHow to delete sublime plug-inApr 16, 2025 am 09:33 AM

There are two ways to delete plugins in Sublime Text: Delete through the Plug-in Manager: Select the plug-in you want to delete and right-click and select "Delete". Manually Delete: Navigate to the user data directory, locate the plugin folder and drag it to the Recycle Bin or Trash.

How to write code with gbk in sublimeHow to write code with gbk in sublimeApr 16, 2025 am 09:30 AM

To write code using GBK encoding in Sublime Text, you need to: 1. Set the project encoding to GBK; 2. Create a new file; 3. Select GBK encoding when saving as; 4. Enter the code using GBK encoding.

How to change sublime to ChineseHow to change sublime to ChineseApr 16, 2025 am 09:27 AM

sublime can be translated into Chinese as: 1. Sublime, sacred; 2. Extreme, extraordinary; 3. Indescribable, awesome; 4. Sublime thought.

How to get the registration code for sublimeHow to get the registration code for sublimeApr 16, 2025 am 09:24 AM

The steps to purchase a Sublime Text registration code are as follows: Visit the website and select "Buy". Select the license type and enter information. Pay and receive emails containing registration codes. Open Sublime Text, go to the License menu and paste the registration code. Click Register to activate your registration code and advanced features.

How to save the code in sublimeHow to save the code in sublimeApr 16, 2025 am 09:21 AM

Sublime Text provides a variety of ways to save code, including shortcut keys (Ctrl S), menu bar (File > Save), toolbar (disk icon), and command panel (Ctrl P). In addition, it also provides an automatic save function, which can automatically save open files regularly.

How to use arrow function for sublimeHow to use arrow function for sublimeApr 16, 2025 am 09:18 AM

Use arrow functions to define anonymous functions in Sublime Text concisely and quickly, with the syntax: (parameter list) => expressions. The advantages include simplicity, readability, scope inheritance and closure functions. Notes include extension operators and this keyword limitations, and the need for explicit return statements for multi-line functions.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft