Downloads
Reference
Learning
Security
Source
API Documentation
push
git_push_add_refspec
Version:
v0.21.5
v0.21.4
v0.21.3
v0.21.2
v0.21.1
v0.21.0
v0.21.0-rc2
v0.21.0-rc1
v0.20.0
v0.19.0
v0.18.0
Add a refspec to be pushed
Signature
GitHub
int git_push_add_refspec(
git_push *push
,
const char *refspec
);
Parameters
git_push *
In
push
The push object
const char *
In
refspec
Refspec string
Returns
int
0 or an error code
Versions
v0.21.5
v0.21.4
v0.21.3
v0.21.2
v0.21.1
v0.21.0
v0.21.0-rc2
v0.21.0-rc1
v0.20.0
v0.19.0
v0.18.0