GIT-HTTP-FETCH(1) Git Manual GIT-HTTP-FETCH(1)NAME
git-http-fetch - Download from a remote Git repository via HTTP
SYNOPSIS
git http-fetch [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
DESCRIPTION
Downloads a remote Git repository via HTTP.
NOTE: use of this command without -a is deprecated. The -a behaviour will become the default in a future release.
OPTIONS
commit-id
Either the hash or the filename under [URL]/refs/ to pull.
-c
Get the commit objects.
-t
Get trees associated with the commit objects.
-a
Get all the objects.
-v
Report what is downloaded.
-w <filename>
Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on the local end after the transfer is complete.
--stdin
Instead of a commit id on the command line (which is not expected in this case), git http-fetch expects lines on stdin in the format
<commit-id>[' '<filename-as-in--w>]
--recover
Verify that everything reachable from target is fetched. Used after an earlier fetch is interrupted.
GIT
Part of the git(1) suite
Git 1.8.3.1 06/10/2014 GIT-HTTP-FETCH(1)
Check Out this Related Man Page
GIT-HTTP-FETCH(1) Git Manual GIT-HTTP-FETCH(1)NAME
git-http-fetch - Download from a remote Git repository via HTTP
SYNOPSIS
git http-fetch [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
DESCRIPTION
Downloads a remote Git repository via HTTP.
NOTE: use of this command without -a is deprecated. The -a behaviour will become the default in a future release.
OPTIONS
commit-id
Either the hash or the filename under [URL]/refs/ to pull.
-c
Get the commit objects.
-t
Get trees associated with the commit objects.
-a
Get all the objects.
-v
Report what is downloaded.
-w <filename>
Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on the local end after the transfer is complete.
--stdin
Instead of a commit id on the command line (which is not expected in this case), git http-fetch expects lines on stdin in the format
<commit-id>[' '<filename-as-in--w>]
--recover
Verify that everything reachable from target is fetched. Used after an earlier fetch is interrupted.
GIT
Part of the git(1) suite
Git 2.17.1 10/05/2018 GIT-HTTP-FETCH(1)
The other day, a friend of mine had his Linux webserver compromised because he was running a vulnerable PHP-script. The "hacker" had used a malformed URL to include a wget-command to fetch some stuff off the net and install it in /dev/shm where it ran undetected. Fortunately, the webserver ran as a... (2 Replies)
Hello,
I'm a total newbie to HTTP commands, so I'm not sure how to do this. What I'd like is to write a C program to fetch the contents of a html page of a given address.
Could someone help with this?
Thanks in advance! (4 Replies)
I have Apache running on a Solaris server. Does anyone know how I go about using HTTP for a file transfer ( or I guess more properly termed in HTTP as a document transfer ) ? I have a requirement that restricts my file transfer options to HTTP only !
Is there any changes I need to make to the... (10 Replies)
i have the following line:
</PRE></TD></TR><TR><TD><B>Events in</B></TD><TD>95</TD></TR><TR><TD><B>Events/sec</B></TD><TD>0</TD></TR><TR><TD><B>Messages out</B></TD><TD>95</TD></TR><TR><TD><B>Messages/sec
i want get the value of Messages out which has value 95 exists in same row.
can... (1 Reply)
Hi All,
I have a file like this,(This is a sql output file)
cat query_file
200000029
12345 10001
0.2 0
I want to fetch the values 200000029,10001,0.2 .I tried using the below code but i could get... (2 Replies)
Hi, I need to grep a pattern and fetch subsequent lines till end of the data-set.
E.g., i have a file like:
AA 1111 23 34
BB 45 56 78
CC 22 44
AA 2222 78 34 56
BB 22 56 67 68 23
CC 56 78
DD 33 55 77
AA 3333 46
BB 58 79
In above file i have 3-data sets where each set starts with... (6 Replies)
Hi Guys,
I have a file with around 1000 strings and i need to fetch the group to which each string belongs to from another file. Example is seen below.
File 1:
A
B
D
File 2:
START
A
B
C
END
START
M (5 Replies)
Hi Friends,
How to fetch current hour data from a log file, given below?
I want all lines after the match "Wed Aug 13 16:"
I have tried below command, but not working. If I put exact string, then it is working.
cat /iscp/user/monitor/ORA_errors |awk '/`date +%h" "%d" "%h`/,printed==999 {... (7 Replies)
Hi Gurus,
I am stuck with the step where i need to fetch the location & sales from the below procedure by taking it from table field using the for loop. any idea how this can be done in unix. From one column both the location and sales are taken out.
create or replace procedure newyork... (2 Replies)
Hey guys, so I want to start using the terminal when I do thinks like update, commit and whatnot. I am use to using kdesvn which is a GUI that helps me with subversion. However, kdesvn does not seem to play well on 18.04 and regardless I am trying to move away from GUI's in general. I want to... (1 Reply)