mirror of
				https://github.com/woodpecker-ci/woodpecker.git
				synced 2025-11-04 15:06:17 +00:00 
			
		
		
		
	Docs: make sure shell examples can be copied (#1670)
close #1656 --------- Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
This commit is contained in:
		@@ -57,8 +57,8 @@ pipeline:
 | 
			
		||||
 | 
			
		||||
Get the container id using `docker ps` and copy the id from the first column. Enter the container with: `docker exec -it 1234asdf  bash` (replace `1234asdf` with the docker id). Then try to clone the git repository with the commands from the failing pipeline:
 | 
			
		||||
```bash
 | 
			
		||||
$ git init
 | 
			
		||||
$ git remote add origin https://git.example.com/username/repo.git
 | 
			
		||||
$ git fetch --no-tags origin +refs/heads/branch:
 | 
			
		||||
git init
 | 
			
		||||
git remote add origin https://git.example.com/username/repo.git
 | 
			
		||||
git fetch --no-tags origin +refs/heads/branch:
 | 
			
		||||
```
 | 
			
		||||
(replace the url AND the branch with the correct values, use your username and password as log in values)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user