Git: Configure identity and query, create a code repository, view files in the repository, and share commands. git Repository
1. Configure identity and query
Git config -- glocal user. name "me" git config -- glocal user. email "A@me.c"
2. Create a code repository
Cd aa/bb/
Git init
3. view files in the
I often write essays. It is very convenient to participate in version control. Sometimes, due to various reasons (such as network failure), I cannot clone them to the local machine, and I want to write new essays, there will be a lot of submission history in the write process. When I merge it into the casual folder, I also want to submit the history.
Now we can simulate this scenario:
1. Create the essays folder and add essay1.md; 2. Create the TMP folder, add the essays2.md folder, add the
Label:One "File Resource library Configuration 1. Create a file repository: Click Tools, Resource Library, connect repository menu Using the file repository does not require a user name and password, and if there is no repository you can click on the "+" in the upper right corner to create a new
Maven-repository (bottom), maven RepositoryMaven-repository (bottom)1. snapshot version
Any project or component in the Maven world has its own version. When Maven detects that the component is a snapshot version and the current component is not the latest version, it will be automatically updated. The Maven check cycle was mentioned before when the repository is
Maven repository category, maven Repository
MAVEN repository category
Maven repositories can be divided into local warehouses and remote warehouses.
Remote warehouses are divided into central warehouses, private servers, and other public remote warehouses.
1. In Maven, any dependency, plug-in, or project build output can be called components.
2. Maven stores
Original address: http://www.if-not-true-then-false.com/2010/yum-remove-repo-repository-yum-disable-repo-repository/
Quick Guide, howto Remove and disable YUM repo (repository). Yum command itself does not contain any way to remove the repository. YUM repo The files is located in/etc/yum.repos.d/directory.
I Use the K
Reference Original: http://www.wirelessqa.com/?p=289
1. What is MAVEN Warehouse
In the case of MAVEN, for example, when we used ant to build a project, under the project directory, we would often see a subdirectory called/lib, where all kinds of third-party dependent jar files, such as Log4j.jar,junit.jar and so on, are stored.
For each project you build, you need to create such a/lib directory, and then copy a pair of jar files, which is obviously duplicated. Repetition is always the starting
Git creates repository commands and usage, git Repository
Git init
Git uses the git init command to initialize a Git repository. Many Git commands need to be run in the Git repository, So git init is the first command to use Git.
After the git init command is executed, the Git repo
Create a private repository for docker and a private repository for docker
Thanks to the network speed and the performance of the Greater China LAN, the image download speed in DockerHub is very slow. Even some domestic image warehouses do not feel very fast. Therefore, it is necessary to build an image repository locally or in a place that we can access quickly
Many times we have created a project locally, and we want to use Git to upload the code to prevent accidental loss of code after the project has gone through a phase. At this point we need to know how to upload a local project to a remote Git repository.Most of our daily life is to pull items from a remote git repository to local, and then upload them when the changes are complete. This process is believed to be familiar to everyone, so I wrote this b
1, the local Yum warehouse installation configurationTwo different ways:1. Each machine is equipped with a Yum repository on a local file system file:///packege/path/2. Configure a local file system Yum repository with one node (server-base) inside the LAN and publish it to the Web server.Other nodes can be http://server-base/pagekege/path/through theProduction process: First select a machine servername, mo
(11) configuration of Maven remote repository, maven Repository
1. Remote repository Configuration
During normal development, we often do not use the default central warehouse. The access speed of the default central warehouse is relatively slow. There may be a lot of visitors, and sometimes it cannot meet the needs of our projects, some components may not exist
To invoke a job or conversion in the repository using kettle, you need to be aware of two issues:Issue One: (no IP required after-rep) standard shell code is as follows#!/bin/bashexport Java_home=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.51-2.4.5.5.el7.x86_64/jreexport PATH= $JAVA _ Home/bin: $PATHexport classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar/home/kettle/soft/ Data-integration/kitchen.sh-rep myrepository-user admin-pass admin-dir/-
Start a new project by building a new library in an existing Git repository and uploading the local git repository to the remote server's Git repositoryfirst , create a new folder on the local ABC, enter into ABC, and then git init. This initializes a git project ABC locally.then , log on to the remote git server, under the Gitrepo directory,mkdir abc.git. Then enter the Abc.git directory. git--bare init. T
Blogapplicationexception;Public
Inputstream getattachedfile (string blogtitle)Throws
Blogapplicationexception;}
As you can see, this interface provides methods for adding, deleting, modifying, and querying, and also provides two methods for processing attachments. Next, we need a DTO object to transfer data between two layers.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
PublicClass
Blogentrydto { PrivateString username;PrivateSt
IOS git deletes a repository, creates a repository, and submits the combined operation code cloud, iosgit
HDHaoShaoPengdeiMac :~ Hdhaoshaopeng $ defaults write com. apple. finder AppleShowAllFiles TRUE
HDHaoShaoPengdeiMac :~ Hdhaoshaopeng $ killall Finder
The preceding command is used to view hidden files. In this way, you can intuitively view the file changes brought by the command line.
If the remot
Build a Git repository in CentOS6 and a centos6git Repository
After Redmine was launched recently, the system integrated the Git linkage function, so I came up with the idea of building an intranet repository. I would like to record the following:
1. Install Git
yum -y install git
2. Create a user and password
useradd gitpasswd git
3. Create a
Create your own YUM repository and your own YUM Repository
Link: http://blog.csdn.net/kongxx/article/details/43917065
Today, let's talk about how to release your own software, install and update the YUM source.
1. first, assume that our application is named helloworld (you can refer to simple RPM package creation to create two versions of helloworld installation RPM package, helloworld-1.0.0-1.el6.x86_64.r
Due to the deletion of a large number of SVN warehouse content, and now suddenly want to restore, but also to keep the log consistency (the recovered deleted files, will be new, no previous history log), so there is this demand.version of Dump repository (version 457 later) " D:\VisualSVN server\svn-repositories\ITV open document " - R 0:457 >d:\itvfwq.dmp restore DMP to Repository -------------------------
Tags: temp OSI solution Nexus Build Project sub-project UIL comailed to collect dependencies @ com.eshore:common:jar:0.0.1-snapshot:failed to read artifact descriptor for COM.ESHORE:C Ommon:jar:0.0.1-snapshot:failure to find Com.eshore:ismp:pom:0.0.1-snapshot in http://192.168.1.1:8888/nexus/ Content/groups/public was cached in the local repository, resolution would not be reattempted until the update interval of Localhost-
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.