-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
16 changed files
with
32,554 additions
and
13,269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
UID=1000 | ||
GID=1000 | ||
PORT=8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
version: '3.1' | ||
|
||
services: | ||
app: | ||
build: | ||
context: . | ||
dockerfile: ./docker/node/Dockerfile | ||
restart: always | ||
user: 1000:1000 | ||
user: ${UID:-1000}:${GID:-1000} | ||
ports: | ||
- 8000:8000 | ||
- ${PORT:-8000}:8000 | ||
volumes: | ||
- ./:/var/www | ||
command: ["npm", "run", "docker-develop"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,29 @@ | ||
--- | ||
title: How to set up remote branch tracking automatically in Git | ||
date: "2022-07-01" | ||
description: "Learn how to set up remote branch tracking automatically in Git." | ||
category: "git" | ||
tags: | ||
- git | ||
- config | ||
--- | ||
|
||
Do you often get this message when you try to push your changes to the remote repository? | ||
|
||
```bash | ||
There is no tracking information for the current branch. | ||
Please specify which branch you want to merge with. | ||
See git-pull(1) for details | ||
|
||
git pull <remote> <branch> | ||
|
||
If you wish to set tracking information for this branch you can do so with: | ||
|
||
git branch --set-upstream-to=origin/<branch> mybranch | ||
``` | ||
|
||
There is a simple solution to this problem. You can set up the remote branch to track the local branch automatically by running the following command: | ||
|
||
```bash | ||
git config --global --add --bool push.autoSetupRemote true | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:16-alpine | ||
FROM node:18-alpine | ||
|
||
MAINTAINER Jakub Vyvazil <[email protected]> | ||
|
||
|
@@ -17,7 +17,7 @@ RUN apk add --no-cache libsodium \ | |
gcc make g++ | ||
|
||
# update npm | ||
RUN npm install -g npm@8.3.1 | ||
RUN npm install -g npm@10.8.2 | ||
|
||
COPY docker/node/docker-entrypoint.sh /usr/local/bin/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.