************************************************************************* * * * Original:blog.csdn.net/clark_xu Xu Changliang's Column************************************************************************? time to read the file#!/bin/bashFor file in ' Ls/root 'DoStat $file >1.txtSed-n "7p" 1.txt>2.txtUsetime= awk-f ":" ' {print $2.txt} 'echo "Time=" $file $usetimeDone? reads each line of the file while statement. Cat Afile | While Read onelineDoEcho $onelineDone? reads each line of the file
copy to their computer,They also push their submissions to the server repository and pull others ' submissions from the server repository.This allows for a team version controlGitHub is a magical site that provides a git repository hosting service, so you can get a git remote repository for free if you sign up for a GitHub account.1th step: Create SSH Key. In the user home directory, see if there is no. ss
changes inconvenient.3. Install gitMac: Install git via homebrew, please refer to Homebrew's documentation: http://brew.sh/.Windows:msysgit is a Windows version of Git, downloaded from http://git-scm.com/, and then installed by default. When the installation is complete, find Git
Install Git and use Git to manage personal documents
1.1 install Git
The latest version of Git can be found.
Before installationFirst, make sure that the corresponding dependency package has been installed, mainly including the following:
Zlib
Libcurl
Libcrypto (OpenSSL)
Rsync (2.6.0 or later)
After these conditions a
Original URL: http://blog.jobbole.com/25775/Original: "Pro Git"StartThis chapter describes the knowledge before you start using Git. We'll start with the historical background of some version control tools, and then try to get Git to run on your system until it's finally configured to work properly. After reading this chapter, you'll see why
=/usr/local/php/bin: $ PATH and change this line to PATH =/usr/local/php/bin: /usr/local/git/bin: $ PATH # Save. Exit shell and reconnect.
Git Repository
Groupadd gituseradd git-g gitcd/home/gitmkdir repo. git # name custom cd repo. gitgit init -- bare # generate a bare repository and store chown-R
StartThis chapter describes the knowledge before you start using Git. We'll start with the historical background of some version control tools, and then try to get Git to run on your system until it's finally configured to work properly. After reading this chapter, you'll see why Git is so popular and why you should start using it right away.1.1 About version con
Original: http://gitbook.liuhui998.com/4_10.htmlfirst, to ensure that git good performanceIn large warehouses, git compresses historical information to conserve disk and memory space. Compression is not automatic, you need to manually perform git gc:$ git gc compression is time consuming, it is best to run the
, it is a new project, just like you create a new canvas with PS. Right-click on your new folder to create it, and if you tap git bash it will go to the command line status as the current directory.Add (Git Add)Add not to commit code to a remote git library, git does not cha
window and enter the following instructions:
mklink/j D:htwgittestgittest.git d:htwkaupanwebtideshareboxtinwai@qq.commyself
So we set up a git.git to the disk and we can use this git.git when the network disk path is in Git.
3, we in the Gittest directory root directory Right select "Git Bash" input:
git clone git
GIT basic operations. git usage tutorialGitThe job is to create and save the snapshots of your project and compare them with the subsequent snapshots. In short, Git is the source code management tool. The following are simple Git commands that are frequently used in the work. If you have any shortcomings, I hope to pro
Git command for obtaining and creating projects, git command for obtaining Projects
Obtain and create project commands
Git init
Use git init to create a Git repository in the directory. You can do this at any time and in any directory, and it is completely localized.
Execute
Linux bash script for one-click installation of PowerShell
Description
Currently, PowerShell in Linux is equivalent to pash. I hope you will focus on mono and pash. One-click installation scripts include for CentOS6, centos7, and Ubuntu 14.04 ubuntu 14.10.
The installation script is installed using yum or apt. mono is the latest official version. Compile and install the latest version of pash and generate two commands:
Mybuild is used to compile pash
Tag: git1. Background
Today I learned how to tag a project, modify the tag version number for this project, and then directly push the version number to the server, which is much easier and easier to manage the project.
2. Tag 1. query existing tags. You can use the GIT tag command to query a specific version. You can use git tag-l 'v *'
git tag2. Create a tag fo
I've been writing some toy code for myself, there is a habit of submitting backups to GitHub, because this is my own code for the toy, and does not involve multiple branches, so each time it is mechanical to knock a string of the same command, in order to improve productivity, in the MAC UNIX environment to write a bash script, Every time I submit the automation to GitHub, I only need to execute this script on the line, the following gives the source
clone Basic Snapshot Add status diff commit reset rm, MV Branch and merge branch Checkout merge log tag share and update item Fetch, pull push remote check and compare log diff One, get and create Project
You have to have a Git repository before you can manipulate it. The repository is where Git stores the data for the snapshots you want to save.
There are two ways to have a
is also a type of process: make the public key and place it in the/tmp directory of the service. Just on the same machine, we can operate two accounts simultaneously by turning on another terminal and using SU to switch to a local account.yourname:~ git$ su Local_accountPassword:bash-3.2$ CD ~bash-3.2$ ssh-keygen-t RSAGenerating public/private RSA key pair.Enter file in which to save the key (/USERS/LOCAL_
select to copy, point right button can be copied directly, paste just click the right button.) Set method: Git Bash Quick icon (desktop icon) Right-click Properties-option, put the quick edit mode on the hook, as shown below:
set git local project development Library default path
If you set it, you don't have to open the directory every time you open
name.Scripts can be written in any language. If you have a scripting language that can be executed on your system, such as outputting 'Hello world', you can write Git hook scripts in this language. Git includes some examples by default, but is not enabled.Do you want to give it a try? This is simple. If you do not have a ready-made Git repository, first create a
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.