Gti and gti commands

Source: Internet
Author: User
Tags home screen

Gti and gti commands
Configuration

Configure user information
Git config -- global user. name "John Doe"
Git config -- global user. email johndoe@example.com
Configure Text Editor
Git config -- global core. editor vim
Configure the difference analysis tools-kdiff3, tkdiff, meld, xxdiff, emerge, vimdiff, gvimdiff, ecmerge, and opendiff
Git config -- global merge. tool vimdiff
See configuration information
Git config -- list
Set the Remember password (15 minutes by default ):
Git config -- global credential. helper cache
If you want to set the time, you can do this:
Git config credential. helper 'cache -- timeout = 100'
Long-term storage password: git config -- global credential. helper store


Help
Git help <verb>
 
Initialization
Warehouse Initialization
Git init
Git add *. c
Git add README

Git commit-m'initial project version'

Git remote add <shortname> <url>

Git push [remote-name] [branch-name]

Clone from existing warehouse

Git clone git: // github.com/schacon/grit.git
Git clone git: // github.com/schacon/grit.git mygrit
 
 
See
View File status
Git status
View the differences between the current file and the temporary storage area. The differences between the last submitted files of the current file
Git diff
Git diff <file>
View the differences between the saved file and the last submission
Git diff -- cached
See history
Git log
Log Visualization
Gitk

 


Submit
Submit update
Git commit
Skip Using the temporary storage area to submit
Git commit-a-m' added new benchmarks'


 

Undo
Cancel submission
Git commit -- amend
Cancel temporary storage
Git reset HEAD <file>
Cancel File Modification
Git checkout -- <file>
 
File Operations
Remove a file
Git rm <file>
Only deleted from the trail list, not files
Git rm -- cached readme.txt
Move files
Git mv file_from file_to
Add Tracing file
Git add <file>
 
 
Remote Repository
See clone remote Repository
Git remote-v
Add a remote repository (alias for the remote path)
Git remote add [shortname] [url]
Git remote add pb git: // github.com/paulboone/ticgit.git
Crawls remote warehouses and does not merge
Git fetch [remote-name]
Git fetch pb
Push data to remote warehouse
Git push [remote-name] [branch-name]
See remote Repository Information
Git remote show [remote-name]
Change repository name
Git remote rename [old-name] [new-name]
Git remote rename pb paul
 
 
Branch
See local branch
Git branch
View remote branches
Git branch-
Switch Branch
Git checkout <local-branch>
 
Create branch: Create a new branch from the current local branch
Git branch <new-local-branch>
Create branch: Create a new branch from other local branches
Git branch <new-local-branch> <old-local-branch>
Create a branch and create a local branch from the remote Branch
Git branch <new-local-branch> <remote>/<remote-branch>
Create and switch branches
Git checkout-B <new-local-branch>
Git checkout-B <new-local-branch> <old-local-branch>
Git checkout-B <new-local-branch> <remote>/<remote-branch>
 
Delete local branch
Git branch-d <local-branch>
Delete remote Branch
Git push <remote-name >:< remote-branch>
 
Merge other local branches to the current Branch
Git merge <local-branch>
Merge the current branch from the remote end to the local end
Git pull [remote] <remote-branch>
 
Create a remote branch and submit it to the remote Branch

Git push <remote> <local-branch>

Obtain the local-branch from the local machine and push it to the branch with the same name in the remote warehouse. If the remote machine does not have a branch with the same name, create a branch with the same name.

Create a remote branch and submit it to the remote Branch

Git push <remote> <local-branch]: [remote-branch]

Obtain my local-branch and push it to the remote-branch of the remote repository. If the remote-branch does not exist at the remote end, create the remote-branch.

 
Set local branches to track remote branches
Git branch -- set-upstream-to = origin/local branch of the remote branch
 

Set gitdiff

Http://blog.longwin.com.tw/2009/11/vimdiff-vs-git-diff-2009/


After the gti9300 is deleted by mistake, you can only set the time to restore the original settings, and the setupzip compressed file is stopped.

After you accidentally delete a file, you still have the opportunity to restore the deleted file as long as you have not written the file to the partition of the deleted file. However, we cannot guarantee that all data is restored. Currently, there are many data recovery software, such as EasyRecovery Pro and finaldata‑ise20. Here I recommend EasyRecovery Pro. At the same time, I will introduce the data recovery steps in WINDOWS and DOS scenarios. Hope to help you.

During daily use of the computer, everyone may have trouble deleting data by mistake, formatting hard disk partitions by mistake, or even deleting hard disk partitions by mistake. So how can we restore the deleted data after these situations?
Recover data in Windows
If you have deleted some files by mistake, such as Word files and text files, or mistakenly formatted non-system partitions while Windows is still running normally, you can use EasyRecovery Pro to restore data.
Tip: when installing the software, Note: If you need to retrieve the files accidentally deleted on drive C, you 'd better not install EasyRecovery Pro on drive C. Otherwise, the file system on drive C will be affected, which is detrimental to data recovery.
1. Restore deleted objects by mistake
After EasyRecovery Pro 6.0 is started, click the "Data Recovery" button on the left of the main interface, and then click the "Deleted Recovery" button in the window on the right.
After a short scan, the program requires the user to select the partition where the File is accidentally deleted, and then enter the File name and type of the File to be restored in the "File Filter" column on the right. By default, the program searches for all deleted files. This allows you to find all deleted files. Generally, you can use the default value. Note: If the file has been deleted for a long time, we recommend that you select the check box before "Complete Scan", so that the chances of successful recovery are higher.
Click "Next", the program starts to scan the partition, and a file list window pops up. This window is similar to "Resource Manager". You only need to find the file to be restored in the list and add "√.
Tip: After the deleted files are found by EasyRecovery Pro, the file names in the file list may be different from the original file names. Therefore, be patient when searching for the files to be restored, you can determine whether to restore the file based on the file name and file type. In addition, after selecting a File, you can click the "View File" button to View the content of the selected File, which is very useful for searching text files.
After selecting the file to be restored, click "Next". The program requires you to select a directory to store the recovered file. Note: To ensure recovery security, it is recommended that you store the recovered data in other partitions (for example, if the file to be recovered is on disk D, you can save the files to disk E ). Click "Browse" next to "Recover to Local Drive" and select the target directory in the pop-up window.
Tip: After the deleted files are found by EasyRecovery Pro, the file names in the file list may be different from the original file names. Therefore, be patient when searching for the files to be restored, you can determine whether to restore the file based on the file name and file type. In addition, after selecting a File, you can click the "View File" button to View the content of the selected File, which is very useful for searching text files.
After selecting a directory for storing recovery files, click "Next" and the program will restore the selected files to the set folder.
2. Restore incorrectly formatted partition data
After starting the program, click "Data Recovery" and then click "Format Recovery" in the right window. At this time, the program requires the user to select the partition for Data Recovery.
Tip: if you have not only formatted the partition, but also changed the partition format (for example, from NTFS to FAT32), You must select "Previous File S ...... remaining full text>
 
How to Use gesture sensing in GTI9500

Hello:
One, SamSung mobile phone Galaxy S4 GT-I9500 support floating window browsing function: browsing pictures, web pages, listening to music, do not need to touch the screen to the left or right sliding, you only need to move your hand left or right on the sensor to go to the previous or next item. The procedure is as follows: 1. Click the application icon on the "standby" Page. 2. Click the "Settings" icon. 3. Click my device and select action and gesture ]. 4. Move [gesture sensing] to the right and turn it on. 5. Click [gesture sensing ]. 6. Move the slider to the Right to enable this function. 7. Click Browse in the floating window ]. 8. Select the application you want to use the floating window to browse (take "image library, Internet, and music player" as an example ). 9. When you browse the image, move your hand to the left or right of the sensor. The picture will be uploaded to or next before the meeting. Tip: Click trial to view the usage of this function. 2, SamSung mobile phone Galaxy S4 GT-I9500 support floating window scroll function: When you browse the Web page, do not need to touch the screen with your hands up or down the scroll, you only need to move your hand up or down above the sensor to scroll the webpage. The procedure is as follows: Repeat steps 1st to 5th. 6. Move the slider to the Right to enable this function. 7. When you browse the webpage, move your hand above the sensor up or down to scroll the webpage. Tip: Click [floating Window jump]> [trial] to experience the specific usage of the gesture scrolling webpage. 3, SamSung mobile phone Galaxy S4 GT-I9500 supports floating window mobile function: on the main screen or Application List, tap and hold down the application icon, then, hover the other hand left or right on the phone to move the app icon to another page. The procedure is as follows: Repeat steps 1st to 5th. 6. Move the slider to the Right to enable this function. 7. Tap and hold the application icon on the home screen or in the Application List. 8. Move your hand to the left or right of the sensor. 9. The application icon will be moved to other pages. Tip: click "move in the floating window" and click "try out" to see how to move in the floating window. 4. Follow the instructions in the following video to answer the call using gestures:
Welcome to Samsung's digital service platform: support.samsung.com.cn/ask

Samsung digital services... [officially certified]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.