Tag: io

60 votes
10 answers
1.8K views
How to redirect output to a file and stdout

In bash, calling foo would display any output from that command on the stdout. Calling foo > output would

avatar
Kurtis
0 1 0 9
asked 07 September, 2021
65 votes
15 answers
1.2K views
Looping through the content of a file in Bash

How do I iterate through each line of a text file with Bash? With this script: echo "Start!" for p in (pepti

avatar
Eddie
0 1 0 9
asked 07 September, 2021
58 votes
20 answers
2K views
How to change permissions for a folder and its subfolders/files in one step

I would like to change the permissions of a folder and all its subfolders and files in one step (command) in L

avatar
Tana
0 1 0 9
asked 07 September, 2021
59 votes
30 answers
1.1K views
How to change the author and committer name and e-mail of multiple commits in Git?

I was writing a simple script in the school computer, and committing the changes to Git (in a repo that was in

avatar
Adolfo
0 1 0 9
asked 07 September, 2021
61 votes
21 answers
994 views
Ignore files that have already been committed to a Git repository

I have an already initialized Git repository that I added a .gitignore file to. How can I refresh the fil

avatar
Wilber
0 1 0 9
asked 07 September, 2021
50 votes
15 answers
392 views
I ran into a merge conflict. How can I abort the merge?

I used git pull and had a merge conflict: unmerged: _widget.html.erb You are in the middle of a conflicted

avatar
Majorie
0 1 0 9
asked 07 September, 2021
57 votes
29 answers
2.4K views
How to find and restore a deleted file in a Git repository

Say I'm in a Git repository. I delete a file and commit that change. I continue working and make some mor

avatar
Hilario
0 1 0 9
asked 07 September, 2021
55 votes
30 answers
1.6K views
How can I reset or revert a file to a specific revision?

I have made some changes to a file which has been committed a few times as part of a group of files, but now w

avatar
Hallie
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
1.1K views
How to resolve merge conflicts in a Git repository

I want to resolve merge conflicts in my Git repository. How can I do that?

avatar
Wilber
0 1 0 9
asked 07 September, 2021
53 votes
30 answers
1.1K views
How do I discard unstaged changes in Git?

How do I discard changes in my working copy that are not in the index?

avatar
Omar
0 1 0 9
asked 07 September, 2021
57 votes
30 answers
1.2K views
Git: How do I force "git pull" to overwrite local files?

How do I force an overwrite of local files on a git pull? The scenario is the following: A team member is mo

avatar
Carmelina
0 1 0 9
asked 07 September, 2021
63 votes
30 answers
1.6K views
How do I rename a local Git branch?

I don't want to rename a remote branch, as described in Rename master branch for both local and remote Gi

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
54 votes
30 answers
2K views
How do I delete a Git branch locally and remotely?

I want to delete a branch both locally and remotely. Failed Attempts to Delete a Remote Branch $ git branch -d

avatar
Corey
0 1 0 9
asked 07 September, 2021
62 votes
30 answers
1.2K views
How do I undo the most recent local commits in Git?

I accidentally committed the wrong files to Git, but didn't push the commit to the server yet. How can I

avatar
Denese
0 1 0 9
asked 07 September, 2021
49 votes
2 answers
856 views
How to call axios/api call in Nativescript application

I'm trying to build a small application on Nativescript-vue where I'm having backend laravel framewo

avatar
Nidia
0 1 0 9
asked 07 September, 2021
59 votes
1 answers
3K views
Navigate with parameters in latest NativeScript with Angular and TypeScript

I want to navigate to another page with parameters, but I can't seem to find documentation that explains

avatar
Denese
0 1 0 9
asked 07 September, 2021
57 votes
1 answers
2K views
How to use swift library in NativeScript?

I am trying to use this ios-charts library in NativeScript. This library is written in Swift and not in Object

avatar
Sydney
0 1 0 9
asked 07 September, 2021
56 votes
3 answers
2.8K views
Hybrid JavaScript Mobile Development - Apache Cordova vs Capacitor with Ionic vs NativeScript vs React Native

First of all, hope so this question is not too broad. Coming from front-end background I'm thinking to st

avatar
Sachiko
0 1 0 9
asked 07 September, 2021
52 votes
2 answers
2.7K views
NativeScript TextField [(ngModel)] does not work

I have a problem with data binding in TextField via ngModel I have model class export class Product { na

avatar
Cortez
0 1 0 9
asked 07 September, 2021