'How to save commit changes without editing when doing a merge in a script?
I wonder how to add in my basic script some commands with nano, Ctrl-O, Enter, Ctrl-X, Enter. You can see what I want at the end of the script. It is after git merge, I just need to save commit changes (formality)
#!/bin/bash
## Set Local Rebase ##
git config pull.rebase true
## Update OpenWRT Scripts
./scripts/feeds update -a
./scripts/feeds install -a
## 5.4 kernel
git remote add wrt https://github.com/james/openwrt.git
git fetch james
git checkout -b wrt james/kernel5.4-qsdk10.0
git checkout master
git merge wrt
*ctrl o*
*enter*
*ctrl x*
*enter*
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
